/**
 * 
 */
package com.hu.ta.assignment6.io;

import java.io.File;

/**
 * Read files.
 * 
 * @author cage@g.com
 */
public abstract class FileIO extends File implements DataConnection {

	private static final long serialVersionUID = -7354132666291932268L;

	/**
	 * @param path
	 *            path to the file
	 */
	public FileIO(String path) {
		super(path);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.hu.ta.assignment.io.DataConnection#read()
	 */
	@Override
	public abstract boolean read();

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.hu.ta.assignment.io.DataConnection#read()
	 */
	@Override
	public abstract boolean write();
}
